import React,{useEffect} from 'react'
import { connect } from 'react-redux'

interface Props {}

function Sale({TableList,dispatch}:any) {
   console.log(TableList);
   useEffect(() => {
    dispatch({
        type:"list/INIT"
    })
   }, [])
   
   
    return (
        <div>出售管理</div>
    )
}

const mapStateToProps = ({list:{TableList}}:any) => ({
    TableList
})



export default connect(mapStateToProps)(Sale)
